package com.ruoyi.robot.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="登录对象", description="")
public class LoginDto {
    @ApiModelProperty(value = "登录账号")
    @NotBlank(message = "登录账号不能为空")
    private String customerAccount;

    @ApiModelProperty(value = "登录密码")
    @NotBlank(message = "登陆密码不能为空")
    private String customerPassword;

    @ApiModelProperty(value = "验证码")
    @NotBlank(message = "验证码不能为空")
    private String code;


    @ApiModelProperty(value = "UUID")
    @NotBlank(message = "系统错误")
    private String vertifyKey;
}
